package aapilast3;

import aapilast3.anno.AutoRunClass1;

public class ReflectDemo9 {
    public static void main(String[] args) throws Exception{
        Class<?> cls = Class.forName("aapilast3.Person");
        boolean mark = cls.isAnnotationPresent(AutoRunClass1.class);
        if (mark) {
            System.out.println("该类被标注了！");
        }else {
            System.out.println("该类没有被标注！");
        }
    }
}
